package com.cola.demo;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * @Grup:com.cola.demo
 * @Auther:cola
 * @Data:2021/4/20-2021-04-23:46
 * @version:1.0
 */
public class Notepad3 {
    public Notepad3() {
        super();
        System.out.println("Notepad3的构造函数......"+this.toString());
    }
    @PostConstruct
    public void init(){
        System.out.println("Notepad3的初始化方法");
    }
    @PreDestroy
    public void destroy(){
        System.out.println("Notepad3的销毁方法");
    }

}
